package com.sunwayworld.basemodule.business.folder.resource;

import com.sunwayworld.basemodule.business.folder.bean.LimsFolderBean;
import com.sunwayworld.basemodule.business.folder.service.LimsFolderService;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import com.sunwayworld.framework.support.base.resource.GenericResource;
import com.sunwayworld.framework.support.choosable.resource.GenericChoosableResource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/secure/basemodule/business/folders")
public interface LimsFolderResource extends GenericResource<LimsFolderService, LimsFolderBean, Long>, GenericChoosableResource<LimsFolderService, LimsFolderBean, Long> {

    @PostMapping(value = "/add/qc/sample")
    void addQcSample(RestJsonWrapperBean jsonWrapperBean);

    @PostMapping(value = "/delete/qc/sample")
    void deleteQcSample(RestJsonWrapperBean jsonWrapperBean);
}
